.class public Lcom/estrongs/android/pop/app/ad/cn/g;
.super Ljava/lang/Object;
.source "ChannelPriority.java"


# direct methods
.method private static a(Lcom/estrongs/android/pop/app/ad/cn/AdType;)Ljava/util/List;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/android/pop/app/ad/cn/AdType;",
            ")",
            "Ljava/util/List<",
            "Lcom/estrongs/android/pop/app/ad/cn/AdChannel;",
            ">;"
        }
    .end annotation

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 2
    sget-object v1, Lcom/estrongs/android/pop/app/ad/cn/g$a;->a:[I

    invoke-virtual {p0}, Ljava/lang/Enum;->ordinal()I

    move-result p0

    aget p0, v1, p0

    packed-switch p0, :pswitch_data_0

    goto :goto_0

    .line 3
    :pswitch_0
    sget-object p0, Lcom/estrongs/android/pop/app/ad/cn/AdChannel;->TYPE_KS:Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 4
    :pswitch_1
    sget-object p0, Lcom/estrongs/android/pop/app/ad/cn/AdChannel;->TYPE_GDT:Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 5
    :pswitch_2
    sget-object p0, Lcom/estrongs/android/pop/app/ad/cn/AdChannel;->TYPE_BAIDU:Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 6
    sget-object p0, Lcom/estrongs/android/pop/app/ad/cn/AdChannel;->TYPE_GDT:Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 7
    sget-object p0, Lcom/estrongs/android/pop/app/ad/cn/AdChannel;->TYPE_KS:Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 8
    :pswitch_3
    sget-object p0, Lcom/estrongs/android/pop/app/ad/cn/AdChannel;->TYPE_GDT:Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 9
    sget-object p0, Lcom/estrongs/android/pop/app/ad/cn/AdChannel;->TYPE_KS:Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 10
    sget-object p0, Lcom/estrongs/android/pop/app/ad/cn/AdChannel;->TYPE_BAIDU:Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 11
    :pswitch_4
    sget-object p0, Lcom/estrongs/android/pop/app/ad/cn/AdChannel;->TYPE_GDT:Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 12
    sget-object p0, Lcom/estrongs/android/pop/app/ad/cn/AdChannel;->TYPE_KS:Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 13
    sget-object p0, Lcom/estrongs/android/pop/app/ad/cn/AdChannel;->TYPE_KS1:Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 14
    sget-object p0, Lcom/estrongs/android/pop/app/ad/cn/AdChannel;->TYPE_KS2:Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :goto_0
    return-object v0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_4
        :pswitch_4
        :pswitch_3
        :pswitch_3
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public static b(Lcom/estrongs/android/pop/app/ad/cn/AdType;)Ljava/util/List;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/android/pop/app/ad/cn/AdType;",
            ")",
            "Ljava/util/List<",
            "Lcom/estrongs/android/pop/app/ad/cn/AdChannel;",
            ">;"
        }
    .end annotation

    .line 1
    sget-boolean v0, Lcom/estrongs/android/pop/view/e;->d:Z

    if-eqz v0, :cond_0

    .line 2
    invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;

    move-result-object p0

    return-object p0

    .line 3
    :cond_0
    invoke-static {}, Les/ok;->g()Les/ok;

    move-result-object v0

    invoke-virtual {v0}, Les/gl;->b()Les/ll;

    move-result-object v0

    .line 4
    instance-of v1, v0, Les/ok$b;

    if-eqz v1, :cond_3

    iget-boolean v1, v0, Les/ll;->b:Z

    if-nez v1, :cond_1

    goto :goto_0

    .line 5
    :cond_1
    check-cast v0, Les/ok$b;

    .line 6
    invoke-virtual {v0, p0}, Les/ok$b;->b(Lcom/estrongs/android/pop/app/ad/cn/AdType;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 7
    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_4

    .line 8
    :cond_2
    invoke-static {p0}, Lcom/estrongs/android/pop/app/ad/cn/g;->a(Lcom/estrongs/android/pop/app/ad/cn/AdType;)Ljava/util/List;

    move-result-object v0

    goto :goto_1

    .line 9
    :cond_3
    :goto_0
    invoke-static {p0}, Lcom/estrongs/android/pop/app/ad/cn/g;->a(Lcom/estrongs/android/pop/app/ad/cn/AdType;)Ljava/util/List;

    move-result-object v0

    .line 10
    :cond_4
    :goto_1
    invoke-static {}, Lcom/estrongs/android/pop/j;->d()Z

    move-result p0

    if-eqz p0, :cond_5

    const/4 p0, 0x0

    .line 11
    sget-object v1, Lcom/estrongs/android/pop/app/ad/cn/AdChannel;->TYPE_HW:Lcom/estrongs/android/pop/app/ad/cn/AdChannel;

    invoke-interface {v0, p0, v1}, Ljava/util/List;->add(ILjava/lang/Object;)V

    :cond_5
    return-object v0
.end method
